Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improvements for dshackle chart #1

Merged
merged 3 commits into from
Feb 14, 2024
Merged

Conversation

cristidas
Copy link

  • add definition missing for dshackle.httpPort
  • adding annotations support for configuring a Service of type LoadBalancer
  • adding support for setting up the external and internal listening ports - for SSL support on 443

Copy link

@eskp eskp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The default values for externalHttpPort and internalHttpPort should be set in values.yaml

@@ -60,3 +60,10 @@ Create the name of the service account to use
{{- default "default" .Values.serviceAccount.name }}
{{- end }}
{{- end }}

{{/*
HTTP port
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

HTTPS?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could also change to HTTPS, but throughout this chart http is used to label that specific traffic

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

http here represents internal port which is not HTTPS, internally they communicate over HTTP on port 8545

- port: {{ .Values.httpPort }}
targetPort: http
- port: {{ .Values.externalHttpPort }}
targetPort: {{ .Values.internalHttpPort }}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@cristidas I think if we plan to open PR to back-merge it we should make as less changes as possible. I would suggest to introduce externalHttpPort but keep using httpPort as internal one

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@OleksandrUA it wouldn't be all these changes in a PR, and I've already opened one only for the changes related to service.type: LoadBalancer. We'll see after that if we'll need to refactor the changes for the ports and create a PR to upstream

@cristidas cristidas merged commit 2c9f6a8 into master Feb 14, 2024
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants